import axios from "./index";
import Qs from "qs";

const url = import.meta.env.VITE_REQUEST_URL;

// 登录
export const LoginRequest = data => {
	return axios({
		url: url + "/user/login",
		method: "post",
		data: Qs.stringify(data)
	});
};